<?php
	
	if($dosubmit){
		$tablename = DB_PRE.$mod;
		$rand = rand(10,20);
		$db->query("update $tablename set hits = hits+ $rand");
		showmessage('操作成功');
	}
	else{
		
	}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>批量增加点击率</title>
</head>

<body>
	<form action="" method="post">
    	模块：<input name="mod" type="text" />
        <input name="dosubmit" type="submit" />
    </form>
</body>
</html>


